import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import formCreate from '@form-create/element-ui';
import App from './App.vue'
import router from './router/router'
import components from './components/lowcode'

const app = createApp(App);
app.use(router)
app.config.globalProperties.$FormCreate = formCreate
app.use(formCreate)
app.use(ElementPlus)
components.forEach(component => {
    console.log(component.name)
    formCreate.component(component.name,component)
})

app.mount('#app')
